package com.heima.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.admin.pojos.AdUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface AdUserMapper extends BaseMapper<AdUser> {

    /**
     * 根据名字查询管理员用户
     * @param name
     * @return
     */
    AdUser selectByName(@Param("name") String name);
}
